package com.longcai.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.bean.PageHelper;
import com.longcai.entity.auth.SysShopsRole;
import com.longcai.entity.auth.vo.SysShopsRoleVo;
import com.longcai.page.table.PageTableResponse;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZJ
 * @since 2019-03-16
 */
public interface SysShopsRoleService extends IService<SysShopsRole> {

    List<SysShopsRole> sysRoleList();

    List<SysShopsRole> listByUserId(String userId);

    PageTableResponse rolesList(SysShopsRole sysRole, PageHelper pageHelper);

    void saveRole(SysShopsRoleVo sysRoleVo);

    void deleteSysRole(String roldId);
}
